package com.seed.uaa.pojo;

import com.seed.uaa.enumeration.PermiOwner;

import java.util.List;

public abstract class OwnerAction {
    protected PermiOwner owner;
    protected String id;
    protected String name;
    protected List<String> actions;

    public OwnerAction(PermiOwner owner, String id, String name) {
        this.owner = owner;
        this.id = id;
        this.name = name;
    }

    public PermiOwner getOwner() {
        return owner;
    }

    public void setOwner(PermiOwner owner) {
        this.owner = owner;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<String> getActions() {
        return actions;
    }

    public void setActions(List<String> actions) {
        this.actions = actions;
    }
}
